home *** CD-ROM | disk | FTP | other *** search
/ New Perspectives on Computer Concepts / New Perspectives on Computer Concepts.iso / np2010c / f1106.ECS < prev    next >
Text File  |  2008-11-19  |  7KB  |  194 lines

  1. |COPYRIGHT 2006 BY MEDIATECHNICS CORPORATION|HEADER|3|Database Records and Fields|0|F1106.FLC|0|0|0|0|0|0|
  2. |***|
  3. |1|1|1|1|0|0|
  4. |OPEN1.MID||0|0|1||0|
  5. ||0|0|0|0|F1106.BMP|5895|6425|4|1|
  6. |1|0|0|0|0|1|1|0|0|0|0|1|1|0|0|0|0|1|1|0|0|0|0|1|0|0|0|0|
  7. |0|0|1|0|0|1|0|0|1|0|0|1|
  8. |***|
  9. |2|1|1|1|0|0|
  10. |||0|0|0||1|
  11. ||10|10|10|10||5895|6425|0|0|
  12. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  13. |0|0|1|0|0|1|0|0|1|0|0|1|
  14. |***|
  15. |3|1|1|25|0|0|
  16. |F110601.WAV||0|0|1||1|
  17. |Database programs such as Microsoft Access save data in a table of fields and records.|1005|4515|945|2700||0|0|0|0|
  18. |1|1365|6945|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  19. |0|0|1|0|0|1|0|0|1|0|0|1|
  20. |***|
  21. |4|1|1|45|0|0|
  22. |F110602.WAV||0|0|1||1|
  23. |Each row is a record.  Each record contains multiple fields of data about a particular entity.  In this case, the record for Kristen Hill includes the fields LastName, FirstName, Department, SS#, and Date Hired.|675|4165|1905|2895||0|0|3|1|
  24. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|2895|2790|330|8640|
  25. |0|0|1|0|0|1|0|0|1|0|0|1|
  26. |***|
  27. |5|1|1|25|0|0|
  28. |F110603.WAV||0|0|1||1|
  29. |Each field, such as LastName, contains one piece of data related to that employee.|1725|4135|900|2790||0|0|3|1|
  30. |1|10|10|10|10|1|1|5250|2910|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|4335|2790|315|1455|
  31. |0|0|1|0|0|1|0|0|1|0|0|1|
  32. |***|
  33. |6|1|1|30|0|0|
  34. |F110604.WAV||0|0|1||1|
  35. |Each record in the Staff table is automatically assigned a unique number.  This unique number is known as a primary key field.|905|2940|1680|2175||0|0|2|0|
  36. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  37. |0|0|1|0|0|1|0|0|1|0|0|1|
  38. |***|
  39. |7|1|1|1|0|0|
  40. |||0|0|0||1|
  41. ||10|10|10|10||0|0|2|0|
  42. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  43. |0|0|1|0|0|1|0|0|1|0|0|1|
  44. |***|
  45. |8|2|1|2|0|0|
  46. |||0|0|0||1|
  47. ||10|10|10|10||0|0|0|0|
  48. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  49. |0|0|1|0|0|1|0|0|1|0|0|1|
  50. |***|
  51. |9|2|1|35|0|0|
  52. |F110605.WAV||0|0|1||1|
  53. |A  relational database can contain many tables.  In addition to the Staff table, this database includes a Departments table that contains additional data about each department.|4020|4380|1380|3585||0|0|0|0|
  54. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  55. |0|0|1|0|0|1|0|0|1|0|0|1|
  56. |***|
  57. |10|2|1|25|0|0|
  58. |F110606.WAV||0|0|1||1|
  59. |The Departments table includes fields for Department, Manager, and Phone.|5760|3820|885|2865||0|0|3|0|
  60. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|4305|2490|330|4380|
  61. |0|0|1|0|0|1|0|0|1|0|0|1|
  62. |***|
  63. |11|2|1|1|0|0|
  64. |||0|0|0||1|
  65. ||10|10|10|10||0|0|3|0|
  66. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  67. |0|0|1|0|0|1|0|0|1|0|0|1|
  68. |***|
  69. |12|3|1|2|0|0|
  70. |||0|0|0||1|
  71. ||10|10|10|10||0|0|0|0|
  72. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  73. |0|0|1|0|0|1|0|0|1|0|0|1|
  74. |***|
  75. |13|3|1|25|0|0|
  76. |F110607.WAV||0|0|1||1|
  77. |The Staff table and the Departments table are joined through the Department field.|6495|4855|885|2655||0|0|3|0|
  78. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  79. |0|0|1|0|0|1|0|0|1|0|0|1|
  80. |***|
  81. |14|3|1|1|0|0|
  82. |||0|0|0||1|
  83. ||10|10|10|10||0|0|3|0|
  84. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  85. |0|0|1|0|0|1|0|0|1|0|0|1|
  86. |***|
  87. |15|4|1|2|0|0|
  88. |||0|0|0||1|
  89. ||10|10|10|10||0|0|0|0|
  90. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  91. |0|0|1|0|0|1|0|0|1|0|0|1|
  92. |***|
  93. |16|4|1|45|0|0|
  94. |F110608.WAV||0|0|1||1|
  95. |Joining tables in this way can save tremendous amounts of  time and disk space.  You don't have to enter the full Department data for each entry in the Staff table.  Yet, you can reach that data for use in a report, treating the two tables as a single unit.|345|3480|2655|2400||0|0|0|0|
  96. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  97. |0|0|1|0|0|1|0|0|1|0|0|1|
  98. |***|
  99. |17|4|1|15|0|0|
  100. |F110609.WAV||0|0|1||1|
  101. |Data from the Departments table ...|7720|2790|765|2460||0|0|1|0|
  102. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|2865|2505|5400|3840|
  103. |0|0|1|0|0|1|0|0|1|0|0|1|
  104. |***|
  105. |18|4|1|15|0|0|
  106. |F110610.WAV||0|0|1||1|
  107. |... is joined to data from the Staff table.|3920|2805|765|1770||0|0|2|0|
  108. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|6690|2475|5445|5070|
  109. |0|0|1|0|0|1|0|0|1|0|0|1|
  110. |***|
  111. |19|4|1|15|0|0|
  112. |F110611.WAV||0|0|1||1|
  113. |You can enter and edit data using the Table view.|5290|7440|975|1845||0|0|1|0|
  114. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|2865|7275|345|1305|
  115. |0|0|1|0|0|1|0|0|1|0|0|1|
  116. |***|
  117. |20|4|1|1|0|0|
  118. |||0|0|0||1|
  119. ||10|10|10|10||0|0|1|0|
  120. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  121. |0|0|1|0|0|1|0|0|1|0|0|1|
  122. |***|
  123. |21|5|1|3|0|0|
  124. |||0|0|0||1|
  125. ||10|10|10|10||0|0|2|0|
  126. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|2880|7260|360|1290|
  127. |0|0|1|0|0|1|0|0|1|0|0|1|
  128. |***|
  129. |22|6|1|1|0|0|
  130. |||0|0|0||1|
  131. ||10|10|10|10||0|0|0|0|
  132. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  133. |0|0|1|0|0|1|0|0|1|0|0|1|
  134. |***|
  135. |23|6|1|15|0|0|
  136. |F110612.WAV||0|0|1||1|
  137. |You can use a form to work with the data.|6495|5635|720|2355||0|0|3|0|
  138. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  139. |0|0|1|0|0|1|0|0|1|0|0|1|
  140. |***|
  141. |24|6|1|1|0|0|
  142. |HCLICK.WAV||4575|7905|1||1|
  143. ||10|10|10|10||0|0|3|0|
  144. |1|4785|7650|10|10|1|1|10|10|10|10|1|1|4695|8070|10|10|1|1|4695|8100|10|10|1|10|10|10|10|
  145. |0|0|1|0|0|1|0|0|1|0|0|1|
  146. |***|
  147. |25|7|1|2|0|0|
  148. |||0|0|0||1|
  149. ||10|10|10|10||0|0|0|0|
  150. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  151. |0|0|1|0|0|1|0|0|1|0|0|1|
  152. |***|
  153. |26|7|1|20|0|0|
  154. |F110613.WAV||0|0|1||1|
  155. |Each form contains the fields for a single record in the database.|3990|6290|720|2895||0|0|4|0|
  156. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  157. |0|0|1|0|0|1|0|0|1|0|0|1|
  158. |***|
  159. |27|7|1|1|0|0|
  160. |||0|0|0||1|
  161. ||10|10|10|10||0|0|4|0|
  162. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  163. |0|0|1|0|0|1|0|0|1|0|0|1|
  164. |***|
  165. |28|8|1|1|0|0|
  166. |||0|0|0||1|
  167. ||10|10|10|10||0|0|0|0|
  168. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  169. |0|0|1|0|0|1|0|0|1|0|0|1|
  170. |***|
  171. |29|8|1|20|0|0|
  172. |F110614.WAV||0|0|1||1|
  173. |Queries make it easy to find and summarize data from the database.|8955|2970|1065|2625||0|0|0|0|
  174. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  175. |0|0|1|0|0|1|0|0|1|0|0|1|
  176. |***|
  177. |30|8|1|20|0|0|
  178. |F110615.WAV||0|0|1||1|
  179. |The query pulls data from the tables and displays the results.|9685|2940|1065|1995||0|0|1|0|
  180. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|2865|2790|315|5790|
  181. |0|0|1|0|0|1|0|0|1|0|0|1|
  182. |***|
  183. |31|8|1|2|0|0|
  184. |||0|0|0||1|
  185. ||10|10|10|10||0|0|1|0|
  186. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  187. |0|0|1|0|0|1|0|0|1|0|0|1|
  188. |***|
  189. |32|8|1|5|0|0|
  190. |CLOSE1.MID||0|0|1||1|
  191. ||10|10|10|10|ANEND.BMP|4410|6950|4|1|
  192. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  193. |0|0|1|0|0|1|0|0|1|0|0|1|
  194.